<!-- <script setup>
// import { GetArtList } from '@/api/article'
import { ref } from 'vue'
defineProps({
    modelValue: {
        type: [Number, String]
    },
    width: {
        type: String
    }
})
const emit = defineEmits(['update:modelValue'])
const dataList = ref([])
const getList = async () => {
    const res = await GetArtList()
    dataList.value = res.data.data
    console.log(dataList.value)
}
getList()
</script>

<template>
    <el-select :modelValue="modelValue" :style="{ width }" @update:modelValue="emit('update:modelValue', $event)">
        <el-option label="公告" value="公告"></el-option>
        <el-option label="动态" value="动态"></el-option>
    </el-select>
</template> -->
